import request from '@/utils/request'

// 查询流程分类统计列表
export function listBusinessStatistics(query) {
  return request({
    url: '/system/businessStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询流程分类统计详细
export function getBusinessStatistics(id) {
  return request({
    url: '/system/businessStatistics/' + id,
    method: 'get'
  })
}

// 新增流程分类统计
export function addBusinessStatistics(data) {
  return request({
    url: '/system/businessStatistics',
    method: 'post',
    data: data
  })
}

// 修改流程分类统计
export function updateBusinessStatistics(data) {
  return request({
    url: '/system/businessStatistics',
    method: 'put',
    data: data
  })
}

// 删除流程分类统计
export function delBusinessStatistics(id) {
  return request({
    url: '/system/businessStatistics/' + id,
    method: 'delete'
  })
}

// 统计图1
export function getStatisticsOne(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsOne',
    method: 'get',
    params: query
  })
}

// 统计图2
export function getStatisticsTwoAndThree(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsTwoAndThree',
    method: 'get',
    params: query
  })
}

// 统计图3
export function getStatisticsFour(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsFour',
    method: 'get',
    params: query
  })
}

// 统计图4
export function getStatisticsFive(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsFive',
    method: 'get',
    params: query
  })
}

// 统计图5
export function getStatisticsSix(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsSix',
    method: 'get',
    params: query
  })
}

// 统计图6
export function getStatisticsSeven(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsSeven',
    method: 'get',
    params: query
  })
}

// 统计图7
export function getStatisticsEight(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsEight',
    method: 'get',
    params: query
  })
}

export function getStatisticsNine(query) {
  return request({
    url: '/system/businessStatistics/getStatisticsNine',
    method: 'get',
    params: query
  })
}

